Back to index

CL-Markdown

These should all get escaped:

Backslash: \

Backtick: `

Asterisk: *

Underscore: _

Left brace: {

Right brace: }

Left bracket: [

Right bracket: ]

Left paren: (

Right paren: )

Greater-than: >

Hash: #

Period: .

Bang: !

Plus: \+

Minus: \-

These should not, because they occur within a code block:

Backslash: \\  
  
Backtick: \`  
  
Asterisk: \*  
  
Underscore: \_  
  
Left brace: \{  
  
Right brace: \}  
  
Left bracket: \[  
  
Right bracket: \]  
  
Left paren: \(  
  
Right paren: \)  
  
Greater-than: \>  
  
Hash: \#  
  
Period: \.  
  
Bang: \!  
  
Plus: \+  
  
Minus: \-  
 

Nor should these, which occur in code spans:

Backslash: `\`

Backtick: `

Asterisk: `*`

Underscore: `_`

Left brace: `{`

Right brace: `}`

Left bracket: `[`

Right bracket: `]`

Left paren: `(`

Right paren: `)`

Greater-than: `>`

Hash: `#`

Period: `.`

Bang: `!`

Plus: \+

Minus: \-

Markdown

These should all get escaped:

Backslash: \

Backtick: `

Asterisk: *

Underscore: _

Left brace: {

Right brace: }

Left bracket: [

Right bracket: ]

Left paren: (

Right paren: )

Greater-than: >

Hash: #

Period: .

Bang: !

Plus: +

Minus: -

These should not, because they occur within a code block:

Backslash: \\

Backtick: \`

Asterisk: \*

Underscore: \_

Left brace: \{

Right brace: \}

Left bracket: \[

Right bracket: \]

Left paren: \(

Right paren: \)

Greater-than: \>

Hash: \#

Period: \.

Bang: \!

Plus: \+

Minus: \-

Nor should these, which occur in code spans:

Backslash: \\

Backtick: \`

Asterisk: \*

Underscore: \_

Left brace: \{

Right brace: \}

Left bracket: \[

Right bracket: \]

Left paren: \(

Right paren: \)

Greater-than: \>

Hash: \#

Period: \.

Bang: \!

Plus: \+

Minus: \-

HTML Difference

Insert: 20, Delete: 0, Replace 0

These should all get escaped:

Backslash: \

Backtick: `

Asterisk: *

Underscore: _

Left brace: {

Right brace: }

Left bracket: [

Right bracket: ]

Left paren: (

Right paren: )

Greater-than: >

Hash: #

Period: .

Bang: !

Plus: +\+

Minus: -\-

These should not, because they occur within a code block:

Backslash: \\
\\  
  
Backtick: \`
\`  
  
Asterisk: \*
\*  
  
Underscore: \_

Left brace: \{

Right brace: \}

Left bracket: \[

Right bracket: \]

Left paren: \(

Right paren: \)
\_  
  
Left brace: \{  
  
Right brace: \}  
  
Left bracket: \[  
  
Right bracket: \]  
  
Left paren: \(  
  
Right paren: \)  
  
Greater-than: \>
\>  
  
Hash: \#
\#  
  
Period: \.
\.  
  
Bang: \!
\!  
  
Plus: \+
\+  
  
Minus: \-
\-  
 

Nor should these, which occur in code spans:

Backslash: \\`\`

Backtick: \``

Asterisk: \*`*`

Underscore: \_

Left brace: \{

Right brace: \}

Left bracket: \[

Right bracket: \]

Left paren: \(

Right paren: \)`_`

Left brace: `{`

Right brace: `}`

Left bracket: `[`

Right bracket: `]`

Left paren: `(`

Right paren: `)`

Greater-than: \>`>`

Hash: \#`#`

Period: \.`.`

Bang: \!`!`

Plus: \+

Minus: \-

HTML from CL Markdown

<p>
These should all get escaped:</p>

<p>
Backslash: \</p>

<p>
Backtick: `</p>

<p>
Asterisk: *</p>

<p>
Underscore: _</p>

<p>
Left brace: {</p>

<p>
Right brace: }</p>

<p>
Left bracket: [</p>

<p>
Right bracket: ]</p>

<p>
Left paren: (</p>

<p>
Right paren: )</p>

<p>
Greater-than: &gt;</p>

<p>
Hash: #</p>

<p>
Period: .</p>

<p>
Bang: !</p>

<p>
Plus: \+</p>

<p>
Minus: \-</p>

<p>
These should not, because they occur within a code block:</p>

<pre>

<code>
Backslash: \\  
  
Backtick: \`  
  
Asterisk: \*  
  
Underscore: \_  
  
Left brace: \{  
  
Right brace: \}  
  
Left bracket: \[  
  
Right bracket: \]  
  
Left paren: \(  
  
Right paren: \)  
  
Greater-than: \&gt;  
  
Hash: \#  
  
Period: \.  
  
Bang: \!  
  
Plus: \+  
  
Minus: \-  
 
</code>

</pre>

<p>
Nor should these, which occur in code spans:</p>

<p>
Backslash: `\`</p>

<p>
Backtick: `</p>

<p>
Asterisk: `*`</p>

<p>
Underscore: `_`</p>

<p>
Left brace: `{`</p>

<p>
Right brace: `}`</p>

<p>
Left bracket: `[`</p>

<p>
Right bracket: `]`</p>

<p>
Left paren: `(`</p>

<p>
Right paren: `)`</p>

<p>
Greater-than: `&gt;`</p>

<p>
Hash: `#`</p>

<p>
Period: `.`</p>

<p>
Bang: `!`</p>

<p>
Plus: <code>
\+</code>
</p>

<p>
Minus: <code>
\-</code>
</p>

Original source

These should all get escaped:

Backslash: \\

Backtick: \`

Asterisk: \*

Underscore: \_

Left brace: \{

Right brace: \}

Left bracket: \[

Right bracket: \]

Left paren: \(

Right paren: \)

Greater-than: \>


Hash: \#

Period: \.

Bang: \!

Plus: \+

Minus: \-



These should not, because they occur within a code block:

	Backslash: \\

	Backtick: \`

	Asterisk: \*

	Underscore: \_

	Left brace: \{

	Right brace: \}

	Left bracket: \[

	Right bracket: \]

	Left paren: \(

	Right paren: \)

	Greater-than: \>


	Hash: \#

	Period: \.

	Bang: \!

	Plus: \+

	Minus: \-


Nor should these, which occur in code spans:

Backslash: `\\`

Backtick: `` \` ``

Asterisk: `\*`

Underscore: `\_`

Left brace: `\{`

Right brace: `\}`

Left bracket: `\[`

Right bracket: `\]`

Left paren: `\(`

Right paren: `\)`

Greater-than: `\>
`

Hash: `\#`

Period: `\.`

Bang: `\!`

Plus: `\+`

Minus: `\-`